/*
 * @Author: wertyuidfghjcvbn 18211108895@163.com
 * @Date: 2024-07-12 14:16:30
 * @LastEditors: wertyuidfghjcvbn 18211108895@163.com
 * @LastEditTime: 2024-07-12 19:10:39
 * @FilePath: \crm_pc\src\router\router.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import {
    MenuFoldOutlined,
    UserOutlined,
    PicCenterOutlined,
    QuestionCircleOutlined,
    FormOutlined,CopyOutlined,LineChartOutlined,AndroidOutlined,
    PinterestOutlined,
    AppstoreAddOutlined,
    CiOutlined,
    CompassOutlined
} from "@ant-design/icons"


export const Routers = [
    {
        key: "menu",
        label: "快捷菜单",
        icon: MenuFoldOutlined,
        children: [
            {
                key: "/home",
                label: "系统首页",
            },
            {
                key: "/home/user/list",
                label: "客户列表"
            }
        ]
    },
    {
        key: "user",
        label: "客户管理",
        icon: UserOutlined,
        children: [
            {
                key: "/home/user/list",
                label: "客户列表"
            }
        ]
    },
    {
        key: "lead",
        label: "商机管理",
        icon: PicCenterOutlined,
        children: [
            {
                key: "/home/lead/leadAll",
                label: "全部商机"
            },
            {
                key: "/home/lead/leadmy",
                label: "我的商机"
            },
            {
                key: "/home/lead/leadFollow",
                label: "下属商机"
            },
            {
                key: "/home/lead/leadWin",
                label: "我协作的"
            },
            {
                key: "/home/lead/leadLose",
                label: "下属协作"
            },
            {
                key: "/home/lead/leadjiao",
                label: "成交商机"
            },
            {
                key: "/home/lead/leadAdd",
                label: "添加商机"
            }
        ]
    },
    {
        key: "order",
        label: "订单管理",
        icon: QuestionCircleOutlined,
        children: []
    },
    {
        key: "financial",
        label: "财务管理",
        icon: FormOutlined,
        children: [
            {
                key: "/home/financial/remittance",
                label: "汇款计划"
            },
            {
                key: "/home/financial/collection",
                label: "回款管理"
            },
            {
                key: "/home/financial/invoice",
                label: "发票管理"
            },
            {
                key: "/home/financial/expense",
                label: "费用管理"
            },
            {
                key: "/home/financial/reimbursement",
                label: "报销管理"
            },
        ]
    },
    {
        key: "examination",
        label: "审批管理",
        icon: CopyOutlined,
        children: [
            {
                key: "/home/examination/approve",
                label: "订单审批"
            },
            {
                key: "/home/examination/apply",
                label: "汇款审批"
            },
            {
                key: "/home/examination/order",
                label: "退款审批"
            },
            {
                key: "/home/examination/ask",
                label: "报销审批"
            },
            {
                key: "/home/examination/borrow",
                label: "请假审批"
            },
            {
                key: "/home/examination/evection",
                label: "出差审批"
            },
            {
                key: "/home/examination/leava",
                label: "借款审批"
            },
            {
                key: "/home/examination/pay",
                label: "请示审批"
            },
            {
                key: "/home/examination/refund",
                label: "拜访审批"
            },
        ]
    },
    {
        key: "statistical",
        label: "统计报表",
        icon: LineChartOutlined,
        children: []
    },
    {
        key: "words",
        label: "工作管理",
        icon: AndroidOutlined,
        children: []
    },
    {
        key: "job",
        label: "办工申请",
        icon: PinterestOutlined,
        children: []
    },
    {
        key: "office",
        label: "办公管理",
        icon: AppstoreAddOutlined,
        children: []
    },
    {
        key: "marketing",
        label: "营销工具",
        icon: CiOutlined,
        children: []
    },
    {
        key: "system",
        label: "系统管理",
        icon: CompassOutlined,
        children: []
    }
]